package com.example.zk.client;

/**
 * Created by SOAL on 2017/7/9 0009.
 */
public class Test {
    public static void main(String[] args) {
        System.out.println("---main threan start-----");
        Thread thread=new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println("----curthread start----");
                while (true){

                }
            }
        });
        thread.setDaemon(true);
        thread.start();
    }
}
